﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services.Protocols;

namespace DispatchAssist.WebService
{
    [AttributeUsage(AttributeTargets.Method)]
    public class ValidationAttribute : SoapExtensionAttribute
    {
        int _priority = 1;

        public override int Priority
        {
            get { return _priority; }
            set { _priority = value; }
        }

        public override Type ExtensionType
        {
            get { return typeof(ValidationExtension); }
        }

        //public bool EnableValidate { get; set; }

        private bool enableLog = false;

        public bool EnableLog
        {
            get { return enableLog; }
            set { enableLog = value; }
        }
    }
}